package com.blb.ssm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.blb.ssm.dao.TestDao;
import com.blb.ssm.entity.Goods;
import com.blb.ssm.entity.Order;
import com.blb.ssm.entity.Order_goods;
import com.blb.ssm.service.TestService;

@Service
public class TestServiceImpl implements TestService {
	
	@Autowired
	private TestDao testDao;

	@Override
	public List<String> getsupplier() {
		return testDao.getsupplier();
	}

	@Override
	public void addOrder(Order order) {
		testDao.addOrder(order);
	}

	@Override
	public List<Goods> getgoods() {
		return testDao.getgoods();
	}

	@Override
	public void addOrder_goods(Order_goods og) {
		testDao.addOrder_goods(og);
	}

	@Override
	public void saveShrk(String oid, String ostate) {
		testDao.saveShrk(oid,ostate);
		
	}
}
